const _import = require('../_import');
import Layout from '@/page/index/'
import Table from '@/example/table/index'
export default [{
	path:'/form',
	component:Layout,
	children:[{
		path:'button',
		name:'按钮',
		component:_import('form/button/index','example')
	},{
		path:'radio',
		name:'单选',
		component:_import('form/radio/index','example')
	},{
		path:'checkbox',
		name:'多选',
		component:_import('form/checkbox/index','example')
	},{
		path:'input',
		name:'输入框',
		component:_import('form/inputs/index','example')
	},{
		path:'select',
		name:'下拉选择',
		component:_import('form/select/index','example')
	},{
		path:'inputnumber',
		name:'计数器',
		component:_import('form/inputnumber/index','example')
	},{
		path:'switch',
		name:'开关',
		component:_import('form/switch/index','example')
	},{
		path:'日期',
		name:'datepicker',
		component:_import('form/datepicker/index','example')
	},{
		path:'时间',
		name:'timepicker',
		component:_import('form/timepicker/index','example')
	},{
		path:'cascader',
		name:'级联',
		component:_import('form/cascader/index','example')
	}]
},{
	path:'/table',
	component:Layout,
    redirect: '/table/index',
    children: [{
        path: 'index',
        name: '表格',
        component: Table
    }]
}]